package com.lagou.dao;

import com.lagou.pojo.Course;

import java.util.List;

/**
 * 课程模块 Dao层接口
 */
public interface CourseDao {
    //查询课程列表信息
    public List<Course> findCourseList();

    //根据条件查询课程信息
    public List<Course> findByCourseNameAndStatus(String courseName,String status);

    //保存课程英雄啊信息
    public int savaCourseSalasInfo(Course course);
    //根据id查询课程信息
    public Course findCourseByid(int id);
    //修改课程营销信息
    public abstract int updateCourseSalesInfo(Course course);
    //修改课程状态
    public abstract int updateCourseStatus(Course course);
}
